export {}
function func1(a:number,b:number=10,...rest:number[]):string{
    console.log(a,b,rest);
    return 'func1';
}

func1(12,23,14,15,16,17);

let nums:Array<number> = [110,120,119,112];
let res = nums.find(i => i>100);


interface Post{
    title:string
    content:string
}
function printPost(post:Post){
    console.log(post.title,post.content);
}
Promise.resolve(12).then(result=>{
    console.log(result);
})
